package com.teach.dao;

import com.teach.dto.MedalDto;
import com.teach.dto.MedalSearch;
import com.teach.entity.MedalInfo;
import com.teach.util.DBUtil;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

public interface MedalInfoDAO extends DBUtil.BaseDAO<MedalInfo> {

  List<MedalDto> selectMap(int index, int len)throws SQLException;

  List<MedalDto> selectSearch(MedalSearch search)throws SQLException;

  long countSearch(MedalSearch search)throws SQLException;

}
